<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <div th:include="common/css::css"></div>
</head>
<body>
<!-- loader Start -->
<div id="loading">
    <div id="loading-center">
    </div>
</div>
<!-- loader END -->
<!-- Sign in Start -->
<section class="sign-in-page">
    <div class="container bg-white mt-5 p-0">
        <div class="row no-gutters">
            <div class="col-sm-6 align-self-center">
                <div class="sign-in-from">
                    <img src="images/login/mail.png" width="80" alt="">
                    <h1 class="mt-3 mb-0"th:text="${str.get('message')}"></h1>
                    <p th:text="${str.get('message')}"></p>
                    <div class="d-inline-block w-100">
                        <button type="submit" class="btn btn-primary"><a th:href="@{/login}">去登陆</a></button>
                    </div>
                    <div th:if="${str.get('code')=='500'}" class="d-inline-block w-100">
                        <button type="submit" class="btn btn-primary"><a th:href="@{/register}">去激活</a></button>
                    </div>
                </div>
            </div>
            <div class="col-sm-6 text-center">
                <div class="sign-in-detail text-white">
                    <a class="sign-in-logo mb-5" href="#"><img th:src="@{/images/logo-white.png}" class="img-fluid" alt="logo"></a>
                    <div class="owl-carousel" data-autoplay="true" data-loop="true" data-nav="false" data-dots="true" data-items="1" data-items-laptop="1" data-items-tab="1" data-items-mobile="1" data-items-mobile-sm="1" data-margin="0">
                        <div class="item">
                            <img th:src="@{/images/login/1.png}" class="img-fluid mb-4" alt="logo">
                            <h4 class="mb-1 text-white">管理学生</h4>
                            <p>毫无疑问这是一个简单的学生管理系统</p>
                        </div>
                        <div class="item">
                            <img th:src="@{/images/login/1.png}" class="img-fluid mb-4" alt="logo">
                            <h4 class="mb-1 text-white">管理学生</h4>
                            <p>毫无疑问这是一个简单的学生管理系统</p>
                        </div>
                        <div class="item">
                            <img th:src="@{/images/login/1.png}" class="img-fluid mb-4" alt="logo">
                            <h4 class="mb-1 text-white">管理学生</h4>
                            <p>毫无疑问这是一个简单的学生管理系统</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<div th:include="common/js::js"></div>
</body>
</html>